/*
	pcell.v
	P/G cells for Kogge-Stone adder
	
	This project and file(s) are released under GNU GPL v3.
	Please find license file from root directory.
	Meng Sun (c) 2013 <leon.meng.sun@gmail.com>
*/

module pcell (Pi, Gi, Pj, Gj, Po, Go);

input Pi, Gi, Pj, Gj;
output Po, Go;

wire Pi, Gi, Pj, Gj;
wire Po, Go;

assign Po = Pi & Pj;
assign Go = Gi | (Pi & Gj);

endmodule